import FooterView from '@/components/FooterView.vue'
export default {
    name: "HomeView",
    data() {
        return {
            loops: []
        };
    },
    created() {
        this.axios.get("api/getLoopsInfo").then(res => {
            console.log("getLoopsInfo:", res.data.data);
            this.loops = res.data.data;
            this.loops.sort((a, b) => {
                return a.loop_id - b.loop_id;
            });
            console.log("this.loops:", this.loops);
        });
    },
    components: { FooterView }
}